/**
 * @description 获取登录状态
 * @author xfj
 */

import { getStorage } from '../utils/localstore'
import { LocalStorageKey } from '../constants/user'

function useLoginInfo() {
  const value = getStorage(LocalStorageKey);
  return value || '';
}

export default useLoginInfo
